A5.ControlBarItem Disclosure Button Object
Description
Definition of a disclosure button.
Properties
- typestring
The type of item. For a disclosure button item the value must be "disclosure-button".
- sizestring
The size of the item.
- autoHideDisclosurestring
Whether or not to hide the disclosure when the button list is clicked. The default value is "always" which will always hide the disclosure. A value of "auto" which will close the disclosure if the disclosure settings autoHide property is set to true, but leave it open if it is false.
- disclosureobject
Settings to show the disclosure. This is the same settings object that gets passed into A5.ControlBar.showDisclosure.
- settingsobject
The settings for the disclosure button.
- showobject
The settings for the show disclosure button. This will be rendered when the disclosure is not yet shown.
- themestring
The theme to use for the button.
- layoutstring
The layout of the button. Values are "text", "icon", "text icon", "icon text", "text/icon", "icon/text", "text-icon" and "icon-text".
- stylestring
The inline CSS to put on the button.
- classNamestring
The class name to put on the button.
- hoverClassNamestring
The class name to put on the button when the user hovers over it.
- pressedClassNamestring
The class name to put on the button when the user presses it.
- disabledClassNamestring
The class name to put on the button when it is disabled.
- iconStylestring
The inline CSS to put on the icon in the button.
- iconClassNamestring
The class name to put on the icon in the button.
- htmlstring
The HTML to use in the button. Can contain template syntax that references control bar data. If there is a value in the data named "customer", it can be accessed by putting "{customer}" into the HTML.
- iconstring
The icon to use in the button.
- hoverIconstring
The icon to use in the button when the user hovers over it.
- pressedIconstring
The icon to use in the button when the user presses it.
- disabledIconstring
The icon to use in the button when it is disabled.
- hideobject
The settings for the show disclosure button. This will be rendered when the disclosure is shown.
- themestring
The theme to use for the button.
- layoutstring
The layout of the button. Values are "text", "icon", "text icon", "icon text", "text/icon", "icon/text", "text-icon" and "icon-text".
- stylestring
The inline CSS to put on the button.
- classNamestring
The class name to put on the button.
- hoverClassNamestring
The class name to put on the button when the user hovers over it.
- pressedClassNamestring
The class name to put on the button when the user presses it.
- disabledClassNamestring
The class name to put on the button when it is disabled.
- iconStylestring
The inline CSS to put on the icon in the button.
- iconClassNamestring
The class name to put on the icon in the button.
- htmlstring
The HTML to use in the button. Can contain template syntax that references control bar data. If there is a value in the data named "customer", it can be accessed by putting "{customer}" into the HTML.
- iconstring
The icon to use in the button.
- hoverIconstring
The icon to use in the button when the user hovers over it.
- pressedIconstring
The icon to use in the button when the user presses it.
- disabledIconstring
The icon to use in the button when it is disabled.
- bindobject
Bindings for the item.
- showstring
The show expression for the item.
- disabledstring
The disabled expression for the item.